<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

	<h:head>
		<title>Cadastro de Tuiteiro</title>
	</h:head>
	<h:body>

		<div id="mensagens" align="center">
			<h:messages title="Mensagens" />
		</div>

		<h:form>

			<div align="center">


				<div align="center" style="width: 500px;">
					<rich:panel header="Cadastro de Tuiteiro">
						<h:panelGrid columns="2">
							<h:outputLabel value="Nome" />

							<h:inputText name="nome"
								value="#{cadastrarTuiteiroBean.tuiteiro.nome}" label="Nome"
								id="nome" />

							<h:outputLabel value="Usuário" />

							<h:inputText name="usuario"
								value="#{cadastrarTuiteiroBean.tuiteiro.usuario}"
								label="Usuário" id="usuario" />

							<h:outputLabel value="E-mail" />

							<h:inputText name="email"
								value="#{cadastrarTuiteiroBean.tuiteiro.email}" label="E-mail"
								id="email" />

							<h:outputLabel value="Senha" />

							<h:inputSecret name="senha"
								value="#{cadastrarTuiteiroBean.tuiteiro.senha}" label="Senha"
								id="senha" />

							<h:commandButton value="Cadastrar"
								action="#{cadastrarTuiteiroBean.cadastrar}"/>
							<h:commandButton value="Limpar"
								action="#{cadastrarTuiteiroBean.cadastrar}"/>
						</h:panelGrid>
					</rich:panel>
				</div>

			</div>

		</h:form>



	</h:body>
</ui:composition>

